Some changes and re-organization for animated gif support.
authorChong Yidong <cyd@stupidchicken.com>
Tue, 7 Jun 2011 18:32:12 +0000 (14:32 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 7 Jun 2011 18:32:12 +0000 (14:32 -0400)
commit266a8bda4131c578b64406b113363cf45401d52e
tree84bf42e3830747a296af14c9363eae502d53c22a
parenta5f3cd0309a7b721cb93980f56f3e51c8ffee7a5
Some changes and re-organization for animated gif support.

* lisp/image.el (image-animate-max-time): Moved to image-mode.el.
(create-animated-image): Remove unnecessary function.
(image-animate): Rename from image-animate-start.  New arg.
(image-animate-stop): Removed; just use image-animate-timer.
(image-animate-timer): Use car-safe.
(image-animate-timeout): Rename argument.

* lisp/image-mode.el (image-toggle-animation): New command.
(image-mode-map): Bind it to RET.
(image-mode): Update message.
(image-toggle-display-image): Avoid a spurious cache flush.
(image-transform-rotation): Doc fix.
(image-transform-properties): Return quickly in the normal case.
(image-animate-loop): Rename from image-animate-max-time.
etc/NEWS
lisp/ChangeLog
lisp/image-mode.el
lisp/image.el